package com.cmxh.shipper.service.impl;

import com.cmxh.shipper.mapper.SupplierMapper;
import com.cmxh.shipper.pojo.Supplier;
import com.cmxh.shipper.service.SupplierService;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

import java.util.List;

@Service
public class SupplierServicelmpl implements SupplierService {
    @Autowired
    private SupplierMapper supplierMapper;

    //查询全部供应商
    @Override
    public List<Supplier> chaxungongyingshang() {
        List<Supplier> chaxungongyingshang = supplierMapper.chaxungongyingshang();
        return chaxungongyingshang;
    }
}
